/* 轮播图 start */
.swiper {
  position: relative;
  width: 100%;
  height: 680rpx;

  .swiper-item {
    position: relative;
    width: 100%;
    height: 100%;
  }
}
/* 轮播图 end */

/* 商品信息 start */
.product-info {
  position: relative;
  width: 100%;

  /* 分享按钮 start */
  .share-operation {
    position: absolute;
    right: 30rpx;
    top: 0;
    transform: translateY(-50%);
    width: 100rpx;
    height: 100rpx;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    border: 1rpx solid #fff;
    color: #fff;

    &::before {
      z-index: -1;
    }
  }
  /* 分享按钮 end */

  /* 基础信息 start */
  .product-base {
    padding: 36rpx 30rpx;
    border-bottom: 20rpx solid var(--tn-color-gray-light);

    .title {
      font-size: 34rpx;
      font-weight: bold;
    }

    .price {
      color: var(--tn-color-red);
      font-size: 44rpx;
      font-weight: bold;

      &::before {
        content: '￥';
        font-size: 26rpx;
        padding-right: 4rpx;
      }
    }

    .sale {
      color: var(--tn-color-gray);
      font-size: 26rpx;
    }
  }
  /* 基础信息 end */

  /* 商品属性 start */
  .product-attr {
    width: 100%;
    padding: 30rpx;
    border-bottom: 20rpx solid var(--tn-color-gray-light);

    .attr-item {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20rpx 0rpx;

      .name {
        font-weight: bold;
      }
      .value {
        font-size: 26rpx;
        color: var(--tn-color-gray);
      }
    }
  }
  /* 商品属性 end */

  /* 商品详情 start */
  .product-detail {
    width: 100%;
    padding: 40rpx 30rpx;
    padding-bottom: 160rpx;

    .content {
      margin-top: 30rpx;
      height: 100vh;
    }
  }
  /* 商品详情 end */
}
/* 商品信息 end */

/* 底部操作栏 start */
.bottom-operation-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: calc(100% - 60rpx);
  height: 110rpx;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0rpx 30rpx;
  box-sizing: content-box;
  padding-bottom: 20rpx;

  .left {
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;

    .left-btn-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      color: var(--tn-color-gray);
      .icon {
        font-size: 42rpx;
      }
      .title {
        font-size: 24rpx;
      }

      &.first {
        margin-right: 60rpx;
      }
    }
  }

  .buy-btn {
    height: 70%;
    flex: 1;
    margin-left: 90rpx;
    border-radius: 200rpx;
    display: flex;
    align-items: center;
    justify-content: center;

    &::before {
      z-index: -1;
    }
  }
}
/* 底部操作栏 end */
